﻿Public Module ModuleConsts

    Public Const NT_SUCCESS As Integer = 0

    Public Const QS_KEY As Integer = &H1
    Public Const QS_MOUSEMOVE As Integer = &H2
    Public Const QS_MOUSEBUTTON As Integer = &H4
    Public Const QS_POSTMESSAGE As Integer = &H8
    Public Const QS_TIMER As Integer = &H10
    Public Const QS_PAINT As Integer = &H20
    Public Const QS_SENDMESSAGE As Integer = &H40
    Public Const QS_HOTKEY As Integer = &H80
    Public Const QS_ALLPOSTMESSAGE As Integer = &H100
    Public Const QS_RAWINPUT As Integer = &H400

    Public Const QS_MOUSE = (QS_MOUSEMOVE Or QS_MOUSEBUTTON)
    Public Const QS_INPUT = (QS_MOUSE Or QS_KEY)
    Public Const QS_ALLEVENTS = (QS_INPUT Or QS_POSTMESSAGE Or QS_TIMER Or QS_PAINT Or QS_HOTKEY)
    Public Const QS_ALLINPUT = (QS_SENDMESSAGE Or QS_PAINT Or QS_TIMER Or QS_POSTMESSAGE Or QS_MOUSEBUTTON Or QS_MOUSEMOVE Or QS_HOTKEY Or QS_KEY)

End Module